﻿@model IEnumerable<MIZ.Models.LichaamsRegio>

@{
    ViewBag.Title = "Index";
}

@section featured {
    <section class="featured">
        <div class="content-wrapper">
            <hgroup class="title">
                <h1>Overzicht Lichaamsregio's</h1>
            </hgroup>
        </div>
    </section>
}

<p>
    <input type="submit" value="Voeg een nieuwe lichaamsregio toe." style="width:auto" class="New_Button" onclick="location.href='@Url.Action("Create")'" />
</p>
<table>
    <tr>
        <th>
            Bestaande Lichaamsregio's            
        </th>
        <th></th>
    </tr>    
@foreach (var item in Model) {
    <tr border="1" style="border:1px solid black;">
        <td>
            @Html.DisplayFor(modelItem => item.Lichaams_Regio)
        </td>        
        <td>
            @Html.ActionLink("Verander", "Edit", new { id=item.Id }) |
            @Html.ActionLink("Details", "Details", new { id=item.Id }) |
            @Html.ActionLink("Verwijderen", "Delete", new { id=item.Id })
        </td>
    </tr>
}

</table>
<br />
<p>
    <input type="submit" value="Terug naar het beheer paneel." style="width:auto" class="New_Button" onclick="location.href='@Url.Action("AdminPanel", "Home")    '" />
</p>
